package com.cf.studiomanage.service;

import com.cf.studiomanage.entity.User;

public interface UserService {
    boolean register(User user);
    User login(String account, String password); // email or phone
    User getById(Long id);
    boolean updateProfile(User user);
    boolean updatePassword(Long id, String newPassword);
}
